Q3Controller_SetButtons
You can use theQ3Controller_SetButtons
function to set the button state of a controller.
TQ3Status Q3Controller_SetButtons ( TQ3ControllerRef controllerRef, unsigned long buttons);
controllerRef
- A reference to a controller.
buttons
- A button state value.
DESCRIPTION
TheQ3Controller_SetButtons
function sets the button state of the controller specified by thecontrollerRef
parameter to the button state value passed in thebuttons
parameter. If the specified controller is inactive,Q3Controller_SetButtons
has no effect. Changing a controller's button state might cause the notify function of the tracker currently associated with that controller to be called.